package com.xcc.common.model;

import java.util.List;
import java.util.Map;

public class CommonTable {

	private String id;
	
	private String tableName;
	private String tableId;
	private List<Map<String,String>> mCondition;
	
	private List<Map<String,String>> mTableData;
	

	private long pageSize=10;
	private long currentPage=1;
	
	
	
	
	public String getId() {
		return id;
	}

	public void setId(String id) {
		this.id = id;
	}

	public List<Map<String, String>> getmTableData() {
		return mTableData;
	}

	public void setmTableData(List<Map<String, String>> mTableData) {
		this.mTableData = mTableData;
	}

	public String getTableName() {
		return tableName;
	}

	public void setTableName(String tableName) {
		this.tableName = tableName;
	}

	public long getPageSize() {
		return pageSize;
	}

	public void setPageSize(long pageSize) {
		this.pageSize = pageSize;
	}

	public  long getCurrentPage() {
		return (currentPage-1)*getPageSize();
	}

	public void setCurrentPage( long currentPage) {
		this.currentPage = currentPage;
	}

	public String getTableId() {
		return tableId;
	}

	public void setTableId(String tableId) {
		this.tableId = tableId;
	}

	public List<Map<String, String>> getmCondition() {
		return mCondition;
	}

	public void setmCondition(List<Map<String, String>> mCondition) {
		this.mCondition = mCondition;
	}

	
}
